package com.wiretap.dao;

import java.util.List;

import com.wiretap.po.Contact;
import com.wiretap.util.Pager;

public interface ContactDao {
	Pager<Contact> getContactByPhone(String ownerPhone, int pageSize, int currentPage) throws Exception;

	void updateContact(Contact contact) throws Exception;

	void addContact(String ownerPhone, List<Contact> contacts) throws Exception;
	
	int deleteContactByOwnerPhone(String ownerPhone) throws Exception;
}
